package com.woniu.humanresource.service;

import com.woniu.humanresource.entity.Activity;
import com.woniu.humanresource.entity.Employees;
import com.woniu.humanresource.entity.PageBean;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface EmployeesService {
    //    添加员工信息
    void insertEmployees(Employees employees);
    //    条件员工信息
    PageBean<Employees> selectEmpInfoCondition(Employees employees, int pageIndex, int pageSize);
    //    查询员工数量
    int selectConditionCount(Employees employees);
    //    删除员工
    void deleteEmployees(int id);
    //    修改员工
    void updateEmployees(Employees employees);
//    导入员工信息
    void importEmployees(MultipartFile empExcel);
//    导出员工信息
    void exportEmployeeExcel(HttpServletResponse response);
//    获取活动信息
    List<Activity> getEmpActivity(int id);
}
